﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace TeamBuy.Common
{
    public interface ITeamBuyAdmin
    {
        int CreateAdmin(string adminName, string adminPwd, int flag);
        int AdminLogin(string adminName, string adminPwd);
        DataTable GetAdmin(int adminID);
        bool IsAdminNameUsed(string adminName);
        int ChangeAdminPassword(int adminID, string oldPwd, string newPwd);
        bool UpdateAdminFlag(int adminID, int flag);

    }
}
